package com.xianyu.us.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UsShops implements Serializable {
	/**
	 * 封装商品表实体信息
	 *  @author dengzeming
	 */
	private static final long serialVersionUID = -5724767258899591637L;
		
	private Integer id;
	private Integer userId;
	private String content;
	private Integer price;
	private String sendAddr;
	private String imgUrl;
	private UsMsgs usMsgs;
	private UsUser usUser;
	private Date createdTime;
	private Date modifyTime;
	
	public UsShops() {}

	public UsShops(Integer id, Integer userId, String content, Integer price, String sendAddr, String imgUrl,
			UsMsgs usMsgs, UsUser usUser, Date createdTime, Date modifyTime) {
		super();
		this.id = id;
		this.userId = userId;
		this.content = content;
		this.price = price;
		this.sendAddr = sendAddr;
		this.imgUrl = imgUrl;
		this.usMsgs = usMsgs;
		this.usUser = usUser;
		this.createdTime = createdTime;
		this.modifyTime = modifyTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getSendAddr() {
		return sendAddr;
	}

	public void setSendAddr(String sendAddr) {
		this.sendAddr = sendAddr;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public UsMsgs getUsMsgs() {
		return usMsgs;
	}

	public void setUsMsgs(UsMsgs usMsgs) {
		this.usMsgs = usMsgs;
	}

	public UsUser getUsUser() {
		return usUser;
	}

	public void setUsUser(UsUser usUser) {
		this.usUser = usUser;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "UsShops [id=" + id + ", userId=" + userId + ", content=" + content + ", price=" + price + ", sendAddr="
				+ sendAddr + ", imgUrl=" + imgUrl + ", usMsgs=" + usMsgs + ", usUser=" + usUser + ", createdTime="
				+ createdTime + ", modifyTime=" + modifyTime + "]";
	};
	
	
}
